package com.gy.def.repository;

import com.gy.def.dataobject.GradeTable;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;

public interface GradeRepository extends JpaRepository<GradeTable, String> {
  Page<GradeTable> findByGradeUser(String gradeUser, Pageable pageable);

  GradeTable findByGradeId(String gradeId);
}
